from selenium import webdriver
from selenium.webdriver.common import keys
from selenium.webdriver.common.by import By
import time

from selenium.webdriver.support.select import Select

driver = webdriver.Chrome()
driver.get('https://sahitest.com/demo/selectTest.htm')
s1 = driver.find_element(By.ID, 's1')
select = Select(s1)
# select.select_by_index(3)
time.sleep(2)
# select.select_by_value('47')
select.select_by_visible_text('Fax')
time.sleep(2)
driver.quit()


